package com;

public class Test1 {
    public static void main(String[] args) {
//        Test t=new Test();
//        Thread  t1=new Thread(t);
//        t1.start();
//        new Thread(new Runnable() {
//            @Override
//            public void run() {
//                System.out.println("多线程启动了");
//            }
//        }).start();
        new Thread( () -> {
          System.out.println("多线程启动了");
             } ).start();
    }
}
